Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayHolderExt Class / GetBool Method / GetBool(IPdfArrayHolder,Int32,Nullable<Boolean>) Method
The current PDF array holder.
The index of the item to return.
The default value.

In This Topic
    GetBool(IPdfArrayHolder,Int32,Nullable<Boolean>) Method
    In This Topic
    Gets the Boolean value at the specified index.

    If the value cannot be converted to a Boolean, returns defValue and adds a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog.

    Syntax
    'Declaration
     
    Public Overloads Shared Function GetBool( _
       ByVal pah As IPdfArrayHolder, _
       ByVal index As System.Integer, _
       ByVal defValue As System.Nullable(Of Boolean) _
    ) As System.Nullable(Of Boolean)
    public static System.Nullable<bool> GetBool( 
       IPdfArrayHolder pah,
       System.int index,
       System.Nullable<bool> defValue
    )

    Parameters

    pah
    The current PDF array holder.
    index
    The index of the item to return.
    defValue
    The default value.

    Return Value

    The value at the specified index.
    See Also